package com.opc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ip.address")//application.xml文件
@Data
public class IpProperties {
    private int times;

    private String cvi31;
    private int port1;
    private String cvi32;
    private int port2;
    private String cvi33;
    private int port3;
    private String cvi34;
    private int port4;

    private String selectProgramNumber1;
    private String selectProgramNumber2;
    private String selectProgramNumber3;
    private String selectProgramNumber4;

    private String resetProgramNumber;

    private String plc;
    private String endPointUrl;
//    private String secretKey;
    private String WorkShop1MiniTorque;
    private String WorkShop2MiniTorque;
}
